﻿
using Lz.HttpDemo.Entity.Request;
using Lz.HttpDemo.Entity.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lz.HttpDemo
{
    /// <summary>
    /// 调用接口
    /// </summary>
    public class LzLazadaGroupService : LzHttpService
    {
        /// <summary>
        /// 获取店铺组数据
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public List<LazadaGroupListResult> GroupList(LzLazadaGroupListRequest request) 
        {
            return PostDataResult<List<LazadaGroupListResult>>("open/api/user/group_data", request);
        }

        /// <summary>
        /// 获取会员下店铺数据
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public List<LazadaTaskListResult> TaskData(LzLazadaGroupListRequest request)
        {
            return PostDataResult<List<LazadaTaskListResult>>("open/api/user/task_data", request);
        }
    }
}
